package com.cnfangmao.masterdata.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cnfangmao.masterdata.model.AccountBasicDataRight;
import com.cnfangmao.masterdata.model.BasicDataMetadata;

/**
 * <p>
 * 用户主数据权限表 Mapper 接口
 * </p>
 *
 * @author chenxd
 * @since 2020-04-14
 */
public interface AccountBasicDataRightDao extends BaseMapper<AccountBasicDataRight> {

	public List<BasicDataMetadata> getMasterdataByUserId(@Param("userId") String userId);
	
	IPage<AccountBasicDataRight> queryListAccountBasicDataRight(IPage<AccountBasicDataRight> page,@Param("userCode")String userCode,@Param("metadataCode")String metadataCode);
}
